<!-- $Id: articlecat_info.htm 16752 2009-10-20 09:59:38Z wangleisvn $ -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>ECSHOP 管理中心 - 添加文章分类 </title>
<meta name="robots" content="noindex, nofollow">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="__TMPL__/Public/styles/general.css" rel="stylesheet" type="text/css" />
<link href="__TMPL__/Public/styles/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__ROOT__/JS/jquery.js"></script>
<script type="text/javascript" src="__ROOT__/JS/jquerytool.js"></script>

</head>
<body>

<h1>
<span class="action-span"><a href="__ACTION__/action/list">文章分类</a></span>
<span class="action-span1"><a href="__APP__/Index/first">ECSHOP 管理中心</a> </span><span id="search_id" class="action-span1"> - 添加文章分类 </span>
<div style="clear:both"></div>
</h1>
<div class="main-div">
<form method="post" action="__ACTION__" name="theForm"  onsubmit="return validate()">
<input name="action" type="hidden" value="{$Think.get.action}" />
<input name="Id" type="hidden" value="{$data.Id}" />
<table cellspacing="1" cellpadding="3" width="100%">
  <tr>
    <td class="label">文章分类名称</td>
    <td><input type="text" name="typename" maxlength="60" size = "30" value="{$data.typename}" /><span class="require-field">*</span><span class="usage"><literal>{$data.typename}</literal></span></td>
  </tr>
  <tr>
    <td class="label">上级分类</td>
    <td>
      <select name="parent_id" >
        <option value="0">顶级分类</option>
        <volist name=":TopTypes()" id="row">
        	<eq name='data.parent_id' value='$row.Id'>
            <option value="{$row.Id}" selected="selected" >{$row.typename}</option>
            <else />
        <option value="{$row.Id}"  >{$row.typename}</option>
        	</eq>
        </volist>
      </select>
    </td>
  </tr>
  <tr>
    <td class="label">排序:</td>
    <td>
      <input type="text" name='listorder'  value="50" size="15" id="listorder" />
    </td>
  </tr>
    <tr>
    <td class="label">是否显示在导航栏:</td>
    <td>
      <input type="radio" name="shownav" value="1" /> 是      <input type="radio" name="shownav" value="0"  checked="true" /> 否    </td>
      <script language="javascript">
	 // alert($("[name='shownav']").length);
	  $("[name='shownav'][value='{$data.shownav}']").attr('checked',true);
	  </script>
  </tr>
  <tr>
    <td class="label">关键字</td>
    <td><input type="text" name="keywords" maxlength="60" size="50" value="{$data.keywords}" /><span class="usage"><literal>{$data.keywords}</literal></span>
    <br /><span class="notice-span" style="display:block"  id="notice_keywords">关键字为选填项，其目的在于方便外部搜索引擎搜索</span>
    </td>
  </tr>
  <tr>
    <td class="label">描述</td>
    <td><textarea  name="description" cols="60" rows="4" id="description">{$data.description}</textarea><br /><span class="notice-span" style="display:block"  id="notice_keywords"><literal>{$data.description}</literal></span>
    
    </td>
  </tr>
  <tr>
    <td class="label">内容</td>
    <td><textarea  name="content" cols="60" rows="4" id="content" style="display:none">{$data.content}</textarea>
    <input type="hidden" id="FCKeditor1___Config" value="" style="display:none" />
     <iframe id="FCKeditor1___Frame" src="__ROOT__/include/fckeditor/editor/fckeditor.html?InstanceName=content&amp;Toolbar=Normal" width="80%" height="320" frameborder="0" scrolling="no"></iframe>
     <br />
     <span class="notice-span" style="display:block"  id="notice_keywords"><literal>{$data.content}</literal></span>
    </td>
  </tr>
  <tr>
    <td class="label">地址</td>
    <td>
      <input type="text" name="linkurl" maxlength="60" size = "30" value="{$data.linkurl}" /></td>
  </tr>
  <tr>
    <td class="label">链接方式</td>
    <td>
    	<input type="radio" name="showtype" value="1" checked="checked" /> 默认
        <input type="radio" name="showtype" value="2"  /> 显示内容
        <input type="radio" name="showtype" value="3" /> 显示链接
          <script language="javascript">
	 // alert($("[name='shownav']").length);
	  $("[name='showtype'][value='{$data.showtype}']").attr('checked',true);
	  </script>
    </td>
  </tr>  
  <tr>
    <td colspan="2" align="center"><br />
      <input type="submit" class="button" value=" 确定 " />
      <input name="按钮" type="button" class="button" value=" 返回 " onclick="window.history.go(-1);" /></td>
  </tr>
</table>
</form>
</div>

<div id="footer">
共执行 1 个查询，用时 0.014414 秒，Gzip 已禁用，内存占用 0.300 MB<br />
版权所有 &copy; 2005-2012 上海商派网络科技有限公司，并保留所有权利。</div>
<!-- 新订单提示信息 -->
</body>
</html>